.PHONY:all
all:cal_server cal_client

LDFLAGE=-DSELF=1
cal_server:TcpServerMain.cpp
	g++ -o cal_server TcpServerMain.cpp $(LDFLAGE) -std=c++14 -lpthread -ljsoncpp 
cal_client:TcpClientMain.cpp
	g++ -o cal_client TcpClientMain.cpp $(LDFLAGE) -std=c++14 -lpthread -ljsoncpp 
.PHONY:clean
clean:
	rm -f cal_server cal_client